package com.demo.dao;

import com.demo.model.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description: MenuMapper
 * @Author: ChenXueLi
 * @Date: 2018-10-05 18:41
 */
@Mapper
public interface MenuMapper {

    /**
     * 获取所有的菜单信息
     * @return
     */
    @Select("select * from c_menu where menu_is_show = 1")
    List<Menu> getMenuList();

}
